home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
rtextu10.zip
/
LOCASE.DOC
< prev
next >
Wrap
Text File
|
1993-05-06
|
4KB
|
85 lines
# #####
# #### # # ## #### ######
# # # # # # # #
# # # # # # #### #####
# # # # ###### # #
# # # # # # # # # #
####### #### ##### # # #### ######
You can get part of the following documentation by invoking the program with
the switches -v, -h, or -H . See README.TXT for more information.
----------------------------------- -v ------------------------------------
LOCASE v1.0 -- Change characters in several files to lower case
Copr (c) 1992,1993 Richard Breuer. LOCASE is freeware. No warranties.
This is LOCASE/2 v1.0 - renamed to LOCASE (from RUTILS 4).
Author: Richard Breuer
Brunssumstrasse 6
5100 Aachen
(after Jul 1, 1993: 52074 Aachen)
Germany
Europe
Phone: +49/241/85605
Fax: +49/241/8021329
Email: ricki@pool.informatik.rwth-aachen.de (Preferred!)
----------------------------------- -h ------------------------------------
LOCASE v1.0 -- Change characters in several files to lower case
Copr (c) 1992,1993 Richard Breuer. LOCASE is freeware. No warranties.
Usage:
LOCASE [-b:e:hHrv*] infile.. [{>|>>} outfile]
Options:
-b<n> The translation begins at column n. If n is 0 or negative, it is
computed to length(line)-n. Default is n=1
-e<n> The translation ends at column n. If n is 0 or negative, it is
computed to length(line)-n. Default is n=0
-h Display this help screen
-H Display another help screen with notes and examples
-r Respect quotes. If -r is specified together with -b or -e, only
quotes in the given range are respected. Quotes are <'> and <">
-v Display version info and information about the author
-* Display internal information (for debugging purposes)
----------------------------------- -H ------------------------------------
LOCASE v1.0 -- Change characters in several files to lower case
Copr (c) 1992,1993 Richard Breuer. LOCASE is freeware. No warranties.
Notes:
LOCASE reads from stdin if a filename is -. The output is always directed
to stdout. The line lengths are restricted to 255 characters. Longer lines
will be cut. The errorlevel is set to 1 if help has been displayed. It is
set to 255 in case of an error and 0 on normal completion. Output resulting
from multiple input files is appended to stdout. The processing order for
wildcards depends on the order of the directory entries. LOCASE returns
nonsense for binary files.
Examples:
LOCASE *.TXT
Change all *.TXT files in the current directory to lower case and append
them to stdout. The order is the one DOS's dir tells you.
DIR | LOCASE
Displays the directory in lower case letters.
LOCASE HEADER.TXT - FOOTER.TXT
After processing HEADER.TXT the user must input text from the keyboard
until Ctrl/Z (=EOF) is detected. Then FOOTER.TXT is processed. All output
is appended on stdout.
LOCASE MYPROG.PAS -r
Translate MYPROG.PAS, but don't change the quoted strings.
-------------------------------------------------------------------------------
Additional information:
LOCASE is one more upper-to-lower case converter. What makes it useful to
me (and maybe U 2), is the -r option which ensures that LOCASE does not
change the case of strings enclosed in <'> or <">. This makes it useful
for source code.